#pragma once

#include <stdio.h>
#include <stdint.h>
#include <string>

#include <event2/bufferevent.h>


uint16_t CRC_Check(const uint8_t *CRC_Ptr,uint8_t LEN);
std::string unsignedCharToHex(unsigned char c);

std::string getPeerIP(bufferevent *bev);